# $Id: PKGBUILD 73831 2012-07-16 05:37:08Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=perl-array-compare
pkgver=2.02
pkgrel=1
pkgdesc="Class to compare two arrays"
arch=(any)
url="http://search.cpan.org/dist/Array-Compare"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/D/DA/DAVECROSS/Array-Compare-$pkgver.tar.gz)
md5sums=('a1e5f3bc8a2dd4a27f65890a7c45dd05')

build() {
  cd  $srcdir/Array-Compare-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
